<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=9"/>
    <title>Wi-Fi Host Driver (WHD): whd_packet_filter_t Struct Reference</title>
    <link href="tabs.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
      <div id="titlearea" style="font-family:verdana;">
        <table border='0' cellpadding='0' cellspacing='0' width="98%">
          <tr style="height:20px"><td>&nbsp;</td></tr>
          <tr style="border-collapse: collapse; padding: 0;">
            <td style="width:20px"></td>
            <td style="width:117px"><img src="ifx_logo.png" alt="Infineon Logo" /></td>
            <td style="vertical-align:middle; text-align:center; font: bold 25px/100% Verdana, Arial, Helvetica, sans-serif;">
              Wi-Fi Host Driver (WHD) Public API Reference Guide
            </td>
          </tr>
          <tr><td>&nbsp;</td></tr>
        </table>
    </div>
    <!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structwhd__packet__filter__t.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">whd_packet_filter_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<div class="textblock"><p>Structure describing a packet filter list item. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:abaabdc509cdaba7df9f56c6c76f3ae19"><td class="memItemLeft" align="right" valign="top"><a id="abaabdc509cdaba7df9f56c6c76f3ae19"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#abaabdc509cdaba7df9f56c6c76f3ae19">id</a></td></tr>
<tr class="memdesc:abaabdc509cdaba7df9f56c6c76f3ae19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unique identifier for a packet filter item. <br /></td></tr>
<tr class="separator:abaabdc509cdaba7df9f56c6c76f3ae19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b5d1db53f323ed75aaaa1ecaabe4533"><td class="memItemLeft" align="right" valign="top"><a id="a6b5d1db53f323ed75aaaa1ecaabe4533"></a>
<a class="el" href="whd__types_8h.html#a36b806b9b0e986bf290ae005d1bae038">whd_packet_filter_rule_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#a6b5d1db53f323ed75aaaa1ecaabe4533">rule</a></td></tr>
<tr class="memdesc:a6b5d1db53f323ed75aaaa1ecaabe4533"><td class="mdescLeft">&#160;</td><td class="mdescRight">Filter matches are either POSITIVE or NEGATIVE matching. <br /></td></tr>
<tr class="separator:a6b5d1db53f323ed75aaaa1ecaabe4533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac681806181c80437cfab37335f62ff39"><td class="memItemLeft" align="right" valign="top"><a id="ac681806181c80437cfab37335f62ff39"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#ac681806181c80437cfab37335f62ff39">offset</a></td></tr>
<tr class="memdesc:ac681806181c80437cfab37335f62ff39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset in bytes to start filtering (referenced to the start of the ethernet packet) <br /></td></tr>
<tr class="separator:ac681806181c80437cfab37335f62ff39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4366e37b92d06167be3c708a731a904a"><td class="memItemLeft" align="right" valign="top"><a id="a4366e37b92d06167be3c708a731a904a"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#a4366e37b92d06167be3c708a731a904a">mask_size</a></td></tr>
<tr class="memdesc:a4366e37b92d06167be3c708a731a904a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the mask in bytes. <br /></td></tr>
<tr class="separator:a4366e37b92d06167be3c708a731a904a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef3362381f6b1bbd1ae35e60f5aa077"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#aeef3362381f6b1bbd1ae35e60f5aa077">mask</a></td></tr>
<tr class="memdesc:aeef3362381f6b1bbd1ae35e60f5aa077"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pattern mask bytes to be ANDed with the pattern eg.  <a href="#aeef3362381f6b1bbd1ae35e60f5aa077">More...</a><br /></td></tr>
<tr class="separator:aeef3362381f6b1bbd1ae35e60f5aa077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af42a55e4e3cdd2ea57e52a29a0d77ce3"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#af42a55e4e3cdd2ea57e52a29a0d77ce3">pattern</a></td></tr>
<tr class="memdesc:af42a55e4e3cdd2ea57e52a29a0d77ce3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pattern bytes used to filter eg.  <a href="#af42a55e4e3cdd2ea57e52a29a0d77ce3">More...</a><br /></td></tr>
<tr class="separator:af42a55e4e3cdd2ea57e52a29a0d77ce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9dfd7c243623af351789a69a792beb8"><td class="memItemLeft" align="right" valign="top"><a id="ad9dfd7c243623af351789a69a792beb8"></a>
<a class="el" href="whd__types_8h.html#a7cd94a03f2e7e6aab7217ed559c7a0ac">whd_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwhd__packet__filter__t.html#ad9dfd7c243623af351789a69a792beb8">enabled_status</a></td></tr>
<tr class="memdesc:ad9dfd7c243623af351789a69a792beb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">When returned from wwd_wifi_get_packet_filters, indicates if the filter is enabled. <br /></td></tr>
<tr class="separator:ad9dfd7c243623af351789a69a792beb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="aeef3362381f6b1bbd1ae35e60f5aa077"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeef3362381f6b1bbd1ae35e60f5aa077">&#9670;&nbsp;</a></span>mask</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* mask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pattern mask bytes to be ANDed with the pattern eg. </p>
<p>"\xff00" (must be in network byte order) </p>

</div>
</div>
<a id="af42a55e4e3cdd2ea57e52a29a0d77ce3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af42a55e4e3cdd2ea57e52a29a0d77ce3">&#9670;&nbsp;</a></span>pattern</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* pattern</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pattern bytes used to filter eg. </p>
<p>"\x0800" (must be in network byte order) </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="whd__types_8h.html">whd_types.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
    <!-- start footer part -->
    <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
      <ul>
        <li class="navelem"><a class="el" href="structwhd__packet__filter__t.html">whd_packet_filter_t</a></li>
        <li class="footer">Copyright Infineon Technologies.</li>
      </ul>
    </div>
  </body>
</html>
